// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//避坑指南: 当改变js文件时，一定记得重启前端项目！
/*导入element-ui*/
import Element from 'element-ui'
/*导入element-ui样式*/
import 'element-ui/lib/theme-chalk/index.css'

/*导入echarts*/
import * as echars from 'echarts'
import { message } from "./assets/js/resetMessage";
Vue.prototype.$message = message;
//使用echars
Vue.prototype.$echarts=echars
/*使用element-ui*/
Vue.use(Element,{size:'default'})

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
